package com.bs.coregamelibrary.protocolbuffer.codec;

import com.google.protobuf.InvalidProtocolBufferException;
import com.google.protobuf.MessageLite;

/**
 * file that help lookup messageGroupID from message object and messageGroup
 * class from its id
 */
public interface MessageGroupFilter {
    //public static final Class[] MessagesGroupList = { Object.class};

    public byte LookupMessageGroupIDFromPrototype(Object prototype) throws InvalidProtocolBufferException;

    public MessageLite LookupPrototypeFromMessageGroupID(byte iMessageGroupID) throws InvalidProtocolBufferException;
}
